package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.CommenBean_Forget;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/4/17.
 */
@HttpInlet(Conn.FORGET)
public class ConnForget extends BaseAsyPost<CommenBean_Forget> {

    public String mobile, password;


    public ConnForget(String mobile, String password, AsyCallBack<CommenBean_Forget> asyCallBack) {
        super(asyCallBack);

        this.mobile=mobile;
        this.password = password;
    }

    @Override
    protected CommenBean_Forget parser(JSONObject object) throws Exception {
        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");


        Gson gson = new Gson();

        CommenBean_Forget loginBean = new CommenBean_Forget();

        loginBean = gson.fromJson(object.toString(), CommenBean_Forget.class);


        return loginBean;


    }
}



